//
//  KeFuSuperViewController.m
//  uplife
//
//  Created by ZhangCheng on 2019/1/11.
//  Copyright © 2019年 ZhangCheng. All rights reserved.
//

#import "KeFuSuperViewController.h"
#import <NTalkerGuestIMKit/NTalkerGuestIMKit.h>
#import <NTalkerIMCore/NtalkerDBManager.h>
@interface KeFuSuperViewController ()<NtalkerChatDelegate>

@end

@implementation KeFuSuperViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NtalkerChatParams *chatParems = [[NtalkerChatParams alloc] init];
    chatParems.delegate = self;
    chatParems.settingId = @"kf_20117_template_9999";
    UIViewController *chatVC = [Ntalker ntalker_chatViewControllerWithChatParam:chatParems];
    [Ntalker ntalker_historyMessageLoadingPattern:1];
    [self.view addSubview:chatVC.view];
//    [self.navigationController pushViewController:chatVC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
